home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
prg_casm
/
snip9611.zip
/
FSM.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-11-24
|
733b
|
26 lines
/* +++Date last modified: 13-Aug-1996 */
/* =======================================================================
FSM.h Finite State machines.
Version 0.01x, 93-08-04.
_____ This version is Public Domain.
/_|__| A.Reitsma, Delft, Nederland.
/ | \ --------------------------------------------------------------- */
struct FSMstate_entry
{
int state ;
int cond ;
int next ;
int (*action)(int);
};
#define STATE_LIST_END { -1, -1, 0, NULL }
#define LIST_DEFAULT -1
int FSMsetup( struct FSMstate_entry * StateTable );
int FSMaction( int Cond );
/* === FSM.h ========================================================== */